<div id="main_organizations" class="span-24 last main">
    <div class="span-18">
        <div class="section_organizations_ads">
            <h2><?=$this->translate ( 'Delete ad' );?></h2>

            <?php if (isset ( $this->error )) : ?>
                <div class="error"><?=$this->escape ( $this->error );?></div>
            <?php endif; ?>

            <div class="section_form">
                <fieldset>
                    <legend><?=$this->translate('Are you sure you want to delete this ad?')?></legend>    
                    <form action="<?php echo $this->url(array('action'=>'orgdelete')); ?>" method="post">
                        <div class="decision_form">
                            <input type="submit" name="del" value="<?=$this->translate('Yes') ?>"  />
                            <input type="submit" name="del" value="<?=$this->translate('No') ?>" />
                        </div>
                    </form>
                </fieldset>
            </div>
        </div>
    </div>
    <div class="span-6 last">
        <?php // if you are admin, then show edit link
        $auth = Zend_Auth::getInstance();
        if ($auth->hasIdentity()): 
            if ($this->userRole == 1 || $this->userRole == 2) { ?>
                <div class="new_ad_icon">
                    <a class="new_ad" href="/<?=$this->lang; ?>/ad/orgcreate">
                        <img alt="<?=$this->translate('Create new ad') ?>" src="/images/icons/ico_new_ad.png" class="valign" />
                        <div class="txt_valign"><?=$this->translate('Create new ad'); ?></div>
                    </a>
                </div> 
                 <div class="clearer"></div>
            <?php } ?>
        <?php endif; ?>
        <div class="clearer"></div>            
        <div class="advertising">
        <!-- BEGIN PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK -->
		<script language="javascript" type="text/javascript" src="http://program.epartner.es/view.asp?ref=570686&site=8346&type=html&hnb=5&js=1"></script>
		<noscript><a href="http://web.epartner.es/click.asp?ref=570686&site=8346&type=b1&bnb=1" target="_blank">
		<img src="http://program.epartner.es/view.asp?ref=570686&site=8346&b=1" border="0"/></a><br /></noscript>
		<!-- END PARTNER PROGRAM -->
        </div>
    </div>
</div> <!-- /main -->